package com.hxk.di.dao;

import com.hxk.di.bean.Book;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Repository;

@Repository
public class BookDao {

    //@Qualifier("book1")
    @Autowired
    private Book book;

    @Override
    public String toString() {
        return "BookDao{" +
                "book=" + book +
                '}';
    }
}
